PAUSE

Syntax: PAUSE [timeout]       
    or: PAUSE [#chan,] [timeout]  (Minerva v1.80+,
                                   THORv6.41, SMS,
                                   ST/QL E-init v1.27+)
Location: QL ROM

The command PAUSE halts execution of a program temporarily for the specified timeout number of frames.

If no timeout or a negative timeout is specified, the command will wait indefinitely.

Execution will continue at the end of the timeout, or if a key is pressed.

The second variant of this command allows you to specify a channel #chan (default #0) upon which the command should operate.

Example:
PAUSE 100 
Pauses for approximately 2 seconds, unless a key is pressed in the meantime!

CROSS-REFERENCE:
INKEY$ allows you to read the key which has been pressed, as well as halting program execution.
